A collection whose elements represent the bands on a CoolBar control. The Bands collection has a Count property which specifies the number of Band objects in the collection.
Syntax
object.Bands.Count
object.Bands(index)
The Bands collection syntax has these parts:
Part | Description |
object | An object expression that evaluates to a CoolBar control. |
index | An integer with a range from 1 to Bands.Count. |
Remarks
The Bands collection enumerates the bands on a CoolBar control. For example, you might use it to change the BackColor property of all the bands on a control.
Note The Bands collection is not a member of the Visual Basic Collection class; you cannot create instances of it.